#define _CRT_SECURE_NO_WARNINGS
#include<stdio.h>








int main()
{
	int line = 0;
	scanf("%d", &line);
	int i = 0;
	
	for (i = 0; i < line  ; i++)
	{
		int j = 0;
		for (j = 0; j < line ; j++)
		{
			if (i + j < line -1)
			{
				printf(" ");
			}
			else
				printf("*");
		}
		printf("\n");
	}





	return 0;
}




